package cn.group01.git.mapper;

import cn.group01.git.entity.GoodsImport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImportMapper {

    List<GoodsImport> getList(@Param("goodsName") String goodsName, @Param("supName") String supName);

    void addImport(GoodsImport goodsImport);

    GoodsImport getById(Integer id);

    Integer getNumberById(long id);

    void edit(GoodsImport goodsImport);
    void delete(@Param("ids") Integer[] ids);

    List<GoodsImport> list(@Param("supName") String supName, @Param("goodsName")String goodsName);
}
